home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Telnet / Terminal 2.2 / Project / Sources / Text.h < prev    next >
Text File  |  1992-01-17  |  561b  |  20 lines

  1. /*
  2.     Terminal 2.2
  3.     "Text.h"
  4. */
  5.  
  6. typedef struct {
  7.     Byte    *text;        /* Pointer to text buffer */
  8.     long    size;        /* Size of text buffer */
  9.     long    firstChar;    /* Offset of first character in text */
  10.     long    newChar;    /* Offset of next character location */
  11.     long    length;        /* Length of text */
  12.     long    lines;        /* Number of lines in text */
  13.     long    viewChar;    /* Offset of character corresponding... */
  14.     long    viewLine;    /* ...to this line */
  15. } TextRecord;
  16.  
  17. void AddNewCharacter (TextRecord *, Byte);
  18. Boolean    FindLine (TextRecord *, long, Byte *);
  19. Byte RemoveCharacter (TextRecord *);
  20.